home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPageImage.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  866b  |  38 lines

  1. /*
  2.  *--- PGetPageImage.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPageImage.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPageImage.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14. #include "PRequestBuf.h"
  15.  
  16. PGetPageImage::PGetPageImage
  17.   (    PMBool     bSelect,
  18.     short    cViewPercent,
  19.     short    nRefNumber,
  20.     short    nPictID,
  21.     long    hDC )
  22.  
  23. {
  24.     char temp[32];
  25.     
  26.     PRequestBuf request(temp);
  27.     
  28.     request    << bSelect
  29.             << cViewPercent
  30.             << nRefNumber
  31.             << nPictID
  32.             << hDC;
  33.     
  34.     PQuery query(pm_getpageimage, request, hImage);
  35. }
  36.  
  37. // end of PGetPageImage.cpp
  38.